package com.lq.dubbo.rocketmq.shop.mapper;

import com.lq.dubbo.rocketmq.shop.shop_pojo.TradeUser;
import com.lq.dubbo.rocketmq.shop.shop_pojo.TradeUserExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: TradeUserMapper
 * @Description:
 * @author: Mybatis Generator
 * @date 2021年06月03日 下午12:09:57
 */
@Mapper
public interface TradeUserMapper {
    long countByExample(TradeUserExample example);

    int deleteByExample(TradeUserExample example);

    int deleteByPrimaryKey(Long userId);

    int insert(TradeUser record);

    int insertSelective(TradeUser record);

    List<TradeUser> selectByExample(TradeUserExample example);

    TradeUser selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("record") TradeUser record, @Param("example") TradeUserExample example);

    int updateByExample(@Param("record") TradeUser record, @Param("example") TradeUserExample example);

    int updateByPrimaryKeySelective(TradeUser record);

    int updateByPrimaryKey(TradeUser record);
}